package com.sky.service;

import com.sky.entity.AddressBook;
import com.sky.mapper.AddressBookMapper;

import java.util.List;

/**
 * @PROJECT_NAME:sky-take-out
 * @NAME: AddressBookService
 * @AUTHOR:$$
 * @Date:2023-08-19
 * @DESCRIPTION:
 **/
public interface AddressBookService {
    List<AddressBookMapper> list (AddressBook addressBook);
    void save(AddressBook addressBook);
    AddressBook geById(Long id);

    void update(AddressBook addressBook);

    void setDefault(AddressBook addressBook);

    void deletById(Long id);
}

